﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace LabChecker.Models
{
    [ComplexType]
    public class TaskDescription
    {
        [Required]
        public string Title { get; set; }
        [Required]
        [MaxLength]
        public string Problem { get; set; }
        [Required]
        [MaxLength]
        public string Input { get; set; }
        [Required]
        [MaxLength]
        public string Output { get; set; }
    }
}